package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * @author zhuliang
 * @version V1.0
 * @Description: 数据化中心-区域分析
 * @date 2020-12-29 14：34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "数据化中心-区域分析")
public class CcmsSmartleasingRegionalAnalysis implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "pk_regional_analysis_id")
    private String pkRegionalAnalysisId;

    @ApiModelProperty(value = "楼宇名称")
    private String buildingName;

    @ApiModelProperty(value = "楼宇，外键id")
    private String fkBuildingId;

    @ApiModelProperty(value = "收款月份")
    private Date collectionMonth;

    @ApiModelProperty(value = "楼宇地址")
    private String buildingAddress;

    @ApiModelProperty(value = "出租率")
    private int occupancyRate;

    @ApiModelProperty(value = "本月应收租金")
    private BigDecimal rentReceivableMonth;

    @ApiModelProperty(value = "本月实收租金")
    private BigDecimal rentPaidInMonth;

    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date creationDate;

    @ApiModelProperty(value = "最后变更人")
    private Integer lastUpdatedBy;

    @ApiModelProperty(value = "最后变更时间")
    private Date lastUpdateDate;

    @ApiModelProperty(value = "删除标记,默认为'false'")
    private Byte deleteSign;

    //此楼宇出租的房间数
    private Long numberOfRentals;

    //此楼宇总房间数
    private Long totalNumberOfRooms;

    private static final long serialVersionUID = 1L;
}
